package com.wssl.common.domain.base.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * 树Vo
 * @author yjc
 * @date 2023-11-14 16:44:45
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "TreeVO", description = "树Vo")
public class TreeVO implements Serializable {
	private static final long serialVersionUID = 153363873131681164L;

    @ApiModelProperty(value = "id")
    private Long id;

	@ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "编号")
    private Integer numNo;

	@ApiModelProperty(value = "父类id 根目录的父类id为0l")
    private Long parentId;



    @ApiModelProperty(value = "子类")
    private List<TreeVO> child;
}

